package aishua.com.mytestapplist.service;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.support.annotation.Nullable;

import aishua.com.mytestapplist.utils.LogUtils;

/**
 * Created by aishua on 2018/2/28.
 */

public class TestService extends Service {
    private static final String TAG = "TestService-";
    @Nullable
    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        LogUtils.v(TAG+"onCreate()");

    }

    @Override
    public void onStart(Intent intent, int startId) {
        super.onStart(intent, startId);
        LogUtils.v(TAG+"onStart()");
    }

    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {
        LogUtils.v(TAG+"onStartCommand()"+"flags----"+flags);
        return super.onStartCommand(intent, flags, startId);
    }
}
